http://www.kahrel.plus.com/indesign/dynamic_endnotes.html